#ifndef EVENTS_H_
#include <string.h>
#include <unistd.h>
#include "libircclient.h"
#include "util.h"
#include "execute.h"

#define exit_command "!kill"

void try_command(irc_session_t *session, const char *event, const char *origin, const char **params, unsigned int count);

void event_connect (irc_session_t * session, const char * event, const char * origin, const char ** params, unsigned int count);

void event_join(irc_session_t * session, const char * event, const char * origin, const char ** params, unsigned int count);

#define EVENTS_H_
#endif
